package com.danskin.wechat.dao;

import com.danskin.wechat.entity.ActivityApplyConfig;
import com.danskin.wechat.entity.example.ActivityApplyConfigExample;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ActivityApplyConfigDao {
    int countByExample(ActivityApplyConfigExample example);

    int deleteByExample(ActivityApplyConfigExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ActivityApplyConfig record);

    int insertSelective(ActivityApplyConfig record);

    List<ActivityApplyConfig> selectByExample(ActivityApplyConfigExample example);

    ActivityApplyConfig selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ActivityApplyConfig record, @Param("example") ActivityApplyConfigExample example);

    int updateByExample(@Param("record") ActivityApplyConfig record, @Param("example") ActivityApplyConfigExample example);

    int updateByPrimaryKeySelective(ActivityApplyConfig record);

    int updateByPrimaryKey(ActivityApplyConfig record);
}